#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>

#include <windows.h>
#include <dbt.h>
#include <QDir>
#include <QDebug>
#include <QDesktopWidget>
#include <QProcess>
#include <QCheckBox>
#include <QCheckBox>
#include <QMessageBox>
#include <QCryptographicHash>

#include <mainwindow.h>
#include <dialog2.h>

namespace Ui {
class Dialog;
}

class Dialog : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog(QWidget *parent = 0);
    Dialog(QString dir, QWidget *parent = 0);
    bool copyRecursively(const QString &srcFilePath,const QString &tgtFilePath);
    ~Dialog();


private slots:
    void on_enter_clicked();

    void on_pushButton_Cencel_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::Dialog *ui;
    //Dialog *MyDialog;

    QString path;
    //QVector<udisk_list_t> udisk_lists;
};

#endif // DIALOG_H
